/*
 * BMPConstants.java
 *
 * Created on 10 May 2006, 08:17
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package net.sf.image4j.codec.bmp;

/**
 * Provides constants used with BMP format.
 * 
 * @author Ian McDonagh
 */
public class BMPConstants {

	private BMPConstants() {
	}

	/**
	 * The signature for the BMP format header "BM".
	 */
	public static final String FILE_HEADER = "BM";

	/**
	 * Specifies no compression.
	 * 
	 * @see InfoHeader#iCompression InfoHeader
	 */
	public static final int BI_RGB = 0; // no compression

	/**
	 * Specifies 8-bit RLE compression.
	 * 
	 * @see InfoHeader#iCompression InfoHeader
	 */
	public static final int BI_RLE8 = 1; // 8bit RLE compression

	/**
	 * Specifies 4-bit RLE compression.
	 * 
	 * @see InfoHeader#iCompression InfoHeader
	 */
	public static final int BI_RLE4 = 2; // 4bit RLE compression

	/**
	 * Specifies 16-bit or 32-bit "bit field" compression.
	 * 
	 * @see InfoHeader#iCompression InfoHeader
	 */
	public static final int BI_BITFIELDS = 3; // 16bit or 32bit "bit field"
												// compression.

	/**
	 * Specifies JPEG compression.
	 * 
	 * @see InfoHeader#iCompression InfoHeader
	 */
	public static final int BI_JPEG = 4; // _JPEG compression

	/**
	 * Specifies PNG compression.
	 * 
	 * @see InfoHeader#iCompression InfoHeader
	 */
	public static final int BI_PNG = 5; // PNG compression
}
